import Layout from '@/layout'
import { roterPre } from '@/settings'
const systemFormRouter =
{
  path: `${roterPre}/activity`,
  name: 'activity',
  meta: {
    icon: 'dashboard',
    title: '设置'
  },
  alwaysShow: true,
  component: Layout,
  children: [
    {
      path: 'list',
      component: () => import('@/views/activity/index'),
      name: 'sfActivityList',
      meta: {
        title: '收费活动',
        noCache: true,
      }
    },
    {
      path: 'create',
      component: () => import('@/views/activity/create'),
      name: 'ActivityForm',
      meta: {
        title: '创建活动报名',
        noCache: true,
        activeMenu: `${roterPre}/activity/list`
      }
    },
    {
      path: 'xslist',
      component: () => import('@/views/activity/xslist/index'),
      name: 'XsActivityList',
      meta: {
        title: '悬赏管理',
        noCache: true,
      }
    },
    {
      path: 'xscreate',
      component: () => import('@/views/activity/xslist/create'),
      name: 'XsActivityForm',
      meta: {
        title: '创建悬赏活动',
        noCache: true,
        activeMenu: `${roterPre}/activity/xslist/list`
      }
    },
    {
      path: 'hclist',
      component: () => import('@/views/activity/hclist/index'),
      name: 'HcActivityList',
      meta: {
        title: '会场管理',
        noCache: true,
      }
    },
     {
      path: 'hccreate',
      component: () => import('@/views/activity/hclist/create'),
      name: 'hcActivityForm',
      meta: {
        title: '创建会场',
        noCache: true,
        activeMenu: `${roterPre}/activity/hclist/list`
      }
    },
    
    {
      path: 'refund',
      component: () => import('@/views/activity/refund'),
      name: 'ActivityRefund',
      meta: {
        title: '报名退款',
        noCache: true
      }
    },
    {
      path: 'order',
      component: () => import('@/views/activity/order'),
      name: 'ActivityOrder',
      meta: {
        title: '报名订单',
        noCache: true
      }
    },
    {
      path: 'verification',
      name: 'verification',
      meta: {
        title: '核销管理'
      },
      component: () => import('@/views/activity/verification/index')
    },
    {
      path: 'report',
      component: () => import('@/views/activity/report'),
      name: 'ActivityOrderReport',
      meta: {
        title: '活动表报',
        noCache: true
      },
    },
    {
      path: 'customForm',
      component: () => import('@/views/systemForm/form/create'),
      name: 'ActivityCustomForm',
      meta: {
        title: '活动表单',
        noCache: true
      },
    }
  ]
}

export default systemFormRouter
